﻿   	
<ul id="affichage_qcm">
	<li>  
		<div class="libelle_page">{{qcm.titre}}</div>	
		<div id="description_qcm">{{qcm.description}}</div>
		<div class="resultat_qcm">{{score}}</div>
		<div class="message_evaluation">{{message_evaluation}}</div>
		<ul class="affichage_question">
			<li ng-repeat="question in qcm.questions" id="question_{{question.id}}">
				<h3>Q{{$index + 1}}.&nbsp;{{question.text}}</h3>
				<span ng-show="question.type==2">(Question à réponses multiples)</span>
				<div class="lien_indication_question" ng-show="question.indication.length > 0 && !affichageSolution">
					<div ng-click="afficherIndication(question.id)"><span class="caret_down"></span><span class="caret_up"></span>Indication</div>
					<div class="indication_question">
						{{question.indication}}
					</div>
				</div>
				<div class="lien_solution_question" ng-show="question.solution.length > 0 && affichageSolution">
					<div ng-click="afficherSolution(question.id)"><span class="caret_down"></span><span class="caret_up"></span>Complément de solution</div>
					<div class="solution_question">
						{{question.solution}}
					</div>
				</div>
				<ul class="affichage_choix">
					<li  id="choix_{{choix.id}}" ng-repeat="choix in question.reponses" ng-click="selectionChoix(question.id,question.type,choix.id)">
						<table>
							<tr>
								<td>
									<div ng-class="{'qcm_radio': question.type==1, 'qcm_checkbox': question.type==2}" >
										<input type="checkbox">
										<label for="a"></label>						
									</div>
								</td>
								<td>
									{{choix.libelle}}	
								</td>
								<td>&nbsp;</td>
							</tr>
						</table>
					</li>
				 </ul>
			</li>
		</ul>	 
	</li>
</ul>   
<div class="resultat_qcm">{{score}}</div>
<div class="message_evaluation">{{message_evaluation}}</div>
<div class="btn_appli" id="lien_check_qcm" ng-click="verifierQcm()">Valider</div>
<div class="btn_appli" id="lien_signaler_probleme" ng-click="signalerProbleme()">Signaler une erreur</div>

